package com.liang.service;/*
 *@Author: ljy
 *@Date:2021/11/6 16:46
 *
 */

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface EnclosureService {
    /**
     * 上传附件
     * @param file
     * @return
     */
    String uploadEnclosure(MultipartFile file);

    /**
     * 附件下载
     * @param id
     * @param response
     * @return
     */
    String downloadEnclosure(Integer id, HttpServletResponse response);
}
